﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace EFS.RC.CommunicatorContext.Common
{
	public class ConversationWnd
	{
		/// <summary>
		/// Close
		/// </summary>
		/// <param name="?"></param>
		public static void Close(Microsoft.Lync.Model.Conversation.Conversation conversation)
		{
			// get window
			Microsoft.Lync.Model.Extensibility.ConversationWindow conversationWindow = Microsoft.Lync.Model.LyncClient.GetAutomation().GetConversationWindow(conversation);
			conversationWindow.Close();
		}
	}
}
